import request from '@/utils/request'

function formatRequestUri(name) {
  return 'form/physicalpage/' + name
}

export function Set(data) {
  return request({
    url: formatRequestUri('Set'),
    method: 'post',
    data
  })
}

export function Gets(formId) {
  return request({
    url: formatRequestUri('Gets'),
    method: 'get',
    params: {
      formId
    }
  })
}
